Skip to content

tree-wide: Add explicit braces around FOREACH body#21651

Merged
TimWolla merged 1 commit intophp:masterfrom
TimWolla:foreach-braces
Apr 6, 2026
Merged

tree-wide: Add explicit braces around FOREACH body#21651
TimWolla merged 1 commit intophp:masterfrom
TimWolla:foreach-braces

Conversation

@TimWolla
Copy link
Copy Markdown
Member

@TimWolla TimWolla commented Apr 6, 2026

Places searched with:

.*FOREACH.*\(.+\)\s*(?!\{)\n

and then manually adjusted.

Places searched with:

    .*FOREACH.*\(.+\)\s*(?!\{)\n

and then manually adjusted.
@TimWolla TimWolla merged commit 40804a6 into php:master Apr 6, 2026
19 checks passed
@TimWolla TimWolla deleted the foreach-braces branch April 6, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants